Skip to main content

Defining Command tasks

This section explains how to define a command task. You can define as many command tasks as you need and execute them at different stages of a Compose workflow.

Information note

For security reasons, before you define a command task, make sure that the executable or script file that you want to run resides in the following directory on the Compose server machine:

PRODUCT_DIR\data\projects\YOUR_PROJECT\scripts

To define a command task:

  1. From the project drop-down menu, select Manage Command Tasks.

    The Manage Command Tasks window opens.

  2. Provide a name for the task.

    Warning noteTask names cannot contain the following characters: /\,&#%$@=^*+"'`~?<>:;[]{} as well as all non-printable characters (below 0x20). The task name can contain a single dot, but it cannot be the first or last character.
  3. Optionally, enter a description.
  4. In the Script/Executable File field, specify the name of the files that you want to run.
  5. In the Parameters field, specify any parameters required by the command. Parameters should be separated by a space.
  6. The user context is the user account under which the Task will run. To change the current user context, provide the User, Password and Domain of the account under which you want the Task to run.
  7. Click Save to save your changes or Discard to discard any unsaved changes.

    The task will be added to the list of tasks in the left of the window.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!